﻿--[[
   @brief    suggest predownload desc
   @author   leozzyzheng
   @version  1.0
   @date     2015-03-26
--]]

suggest_predownload_desc = {
    module_name = "suggest_predownload",
    events = {
        {
            c_event = 
            {
                {
                    id = ierd_tgp.login_mgr.LOGIN_ON_LOGIN_SUCCESS,
                    callback = "suggest_predownload_control.on_login_success"
                }
            },
            lua_event = 
            {
                {
                    id = suggest_predownload_event.SUGGEST_PREDOWNLOAD,
                    callback = "suggest_predownload_control.suggest_predownload"
                },
                {
                    id = suggest_predownload_event.CLOSE,
                    callback = "suggest_predownload_control.force_close"
                }
            },
            lua_file = "suggest_predownload\\suggest_predownload_control.lua"
        }
    }
};

desc_mgr.add(suggest_predownload_desc);
